import request from "../utils/request";
//删除活动
export const delActivityAPI=(params)=>{
    return request({
        url:'/admin/delActivity',
        method:'delete',
        params:params
    })
};
//删除帖子
export const delPostAPI=(params)=>{
    return request({
        url:'/admin/delPost',
        method:'delete',
        params:params
    })
};
//删除戏曲
export const delVideoAPI=(params)=>{
    return request({
        url:'/admin/delVideo',
        method:'delete',
        params:params
    })
};
//批量删除活动
export const delActivitySAPI=(params)=>{
    return request({
        url:'/admin/delActivityS',
        method:'delete',
        params:params
    })
};
//批量删除帖子
export const delPostSAPI=(params)=>{
    return request({
        url:'/admin/delPostS',
        method:'delete',
        params:params
    })
};
//批量删除戏曲
export const delVideoSAPI=(params)=>{
    return request({
        url:'/admin/delVideoS',
        method:'delete',
        params:params
    })
};
export const getOnlineAPI=(params)=>{
    return request({
        url:'/admin/getOnline',
        method:'get',
        params:params
    })
};
export const getUserListAPI=(params)=>{
    return request({
        url:'/admin/getUserList',
        method:'get',
        params:params
    })
};
export const delUserAPI=(params)=>{
    return request({
        url:'/admin/delUser',
        method:'delete',
        params:params
    })
};
export const delUserSAPI=(params)=>{
    return request({
        url:'/admin/delUserS',
        method:'delete',
        params:params
    })
};